//
//  HTMLocationManager.h
//  QVBusUser
//
//  Created by Ting Han on 2017/8/16.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AMapLocationKit/AMapLocationKit.h>
#import <AMapFoundationKit/AMapFoundationKit.h>

//extern NSString * const kdidUpdateLocation;

@interface HTMLocationManager : NSObject

@property (nonatomic, strong) AMapLocationManager *locationService;

@property (nonatomic,strong) NSString *currentCity;
@property (nonatomic,strong) NSString *currentProvince;

- (NSString *)getCurrentProvince;
- (NSString *)getCurrentAddress;

+ (instancetype)singleInstance;

+ (void)startLocation;

+ (void)stopLocation;

- (void)requestLocationCompletionBlock:(void (^)(CLLocation *location, AMapLocationReGeocode *regeocode, NSError *error))completionBlock;
@end
